﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProjectPaperManager.aspx.cs"
    Inherits="sysadmin_PaperManager_ProjectPaperManager" %>
    
    <%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
       <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />
</head>
<body class="bodymain">
    <form id="form1" runat="server">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="titbg_right">
            <tr>
                <td class="titbg_left" >
                    <asp:Label ID="lbl_InfoTitle" runat="server" Text="培训试卷管理"></asp:Label></td>
            </tr>
        </table>
        <br />
        <table border="0" cellpadding="0" cellspacing="0" class="btnbg" width="100%">
            <tr>
                <th>
                    <asp:Label ID="lab_ProjectName" runat="server" Text="培训方案名称"></asp:Label></th>
                <td>
                    <asp:TextBox ID="txtProjectName" runat="server"></asp:TextBox>
                    <asp:Button ID="btnSearch" runat="server" CssClass="inputBotton2" Text=" 搜 索 " OnClick="btnSearch_Click" /></td>
            </tr>
        </table>
        <asp:Repeater ID="rpt_ProjectList" runat="server" OnItemCommand="rpt_ProjectList_ItemCommand">
            <HeaderTemplate>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="mainList">
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <asp:LinkButton ID="lnkbtn_ProjectName" CommandName="btn_show" CommandArgument='<%#Eval("TrainproID")%>'
                            runat="server">[<%#Eval("TrainproName")%>]
                                            
                        </asp:LinkButton>
                        （<asp:Label ID="lab_PaperCount" runat="server" ForeColor="red"><%=GetLanageValueByKey("msg_projectpaperManager_papername", PowerCreator.LMS.Language.LanagetItemType.Page)%><%#Eval("PaperCount")%></asp:Label>
                        <asp:Label ID="lab_ClassCount" runat="server" ForeColor="red"><%=GetLanageValueByKey("msg_projectpaperManager_classname", PowerCreator.LMS.Language.LanagetItemType.Page)%><%#Eval("ClassCount")%></asp:Label>）
                    </td>
                </tr>
                <asp:Panel ID="pl_ResourceList" runat="server" Visible="False" Width="95%">
                    <tr>
                        <td>
                            <asp:Repeater ID="rpt_ResourceList" runat="server" OnItemCommand="rpt_ResourceList_ItemCommand">
                                <HeaderTemplate>
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="mainList" >
                                        <tr>
                                            <th>
                                                <%=GetLanageValueByKey("ProjectResourceSet_lbl_l6", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                                            </th>
                 
                                            <th>
                                                <%=GetLanageValueByKey("lab_ProjectClassUser_ClassName", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                                            </th>
                                            <th>
                                                <%=GetLanageValueByKey("msg_projectpaperManager_paper1count", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                                            </th>
                                            <th>
                                                <%=GetLanageValueByKey("msg_projectpaperManager_piyuecount", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                                            </th>
                                            <th>
                                                <%=GetLanageValueByKey("msg_projectpaperManager_papertongguolv", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                                            </th>
                                             <th>
                                                <%=GetLanageValueByKey("btn_ManagerQuestion_Work", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                                            </th>
                                        </tr>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr>
                                
                                        <td>
                                            <%#Eval("PaperName")%>
                                            &nbsp;</td>
                                             <td>
                                            <%#Eval("TrainclaName")%>
                                            &nbsp;</td>
                              
                                        <td>
                                            <%#Eval("SubmitPaperCount")%>
                                            &nbsp;</td>
                                            <td>
                                            <%#Eval("UnReadPaperCount")%>
                                            &nbsp;</td>
                                            <td>
                                            <%#Eval("PassRatio")%>
                                            &nbsp;</td>
                                        <td>
                                            <asp:LinkButton ID="btn_See" runat="server" CommandName="See" CommandArgument='<%#Eval("url")%>'><%=GetLanageValueByKey("theme_Course_Study", PowerCreator.LMS.Language.LanagetItemType.Page)%></asp:LinkButton>
                                            <asp:Label ID="lbl_resourcetype_paper" runat="server" Text="" ForeColor="red"></asp:Label>
                                            &nbsp;</td>
                                    </tr>
                                </ItemTemplate>
                                <FooterTemplate>
                                    </table>
                                </FooterTemplate>
                            </asp:Repeater>
                        </td>
                    </tr>
                </asp:Panel>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
         <table width="100%" border="0" cellpadding="0" cellspacing="0" >
            <tr>
                <td  align="center">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center"
                        OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" Width="100%"
                        meta:resourceKey="AspNetPager1" Style="font-size: 14px" InputBoxStyle="width:19px"
                        CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%" FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
